<template>
  <div>
     <h1>父组件</h1>
     <hr>
     <mine-one age="88" :color="color" shengao="180" type="primary" tizhong="190" >
       <!-- slot-scope在vue3 被移除 -->
        <template #footer="{row}">
            <h1 style="color:red;">这是插槽内容 {{row.name}}---{{row.age}}</h1>
        </template>

     </mine-one>
  </div>
</template>
<script setup>
 import mineOne from './mineOne.vue'
 import {ref} from 'vue'
 let color = ref('红色')
</script>